/*!
 * Polkascan Explorer UI
 * Copyright (C) 2018-2022 Polkascan Foundation (NL)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

.last-block {
  font-size: 5em;
}

.blocks {
  display: flex;
  margin: 15px 0;
  height: 107px;
}

.block-outer {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 9vw;
  max-width: 96px;
}

.block-inner {
  position: relative;
  display: flex;
  align-content: flex-start;
  flex-flow: row wrap;
  margin-right: 15px;
  padding-top: 26px;
  height: 81px;
  max-height: 81px;
  overflow: hidden;
  text-decoration: none;
  font-size: 0.8rem;
  transition: max-height 400ms, background-color 400ms;

  &.finalized {

  }

  &:hover {
    max-height: 100vh;
    overflow: visible;
  }

  .number {
    position: absolute;
    top: 0;
    left: 0;
    color: #777;

    strong {
      margin-left: 0.1em;
      color: #222;
    }
  }

  .transaction,
  .event {
    margin: 0 3px 3px 0;
    flex: 0 0 6px;
    height: 6px;
    border-radius: 50%;
  }

  .transaction {
    background: #cf25ff;
  }

  .event {
    background: #ff6482;
  }
}

.search {
  margin-top: 15px;
  width: 100%;
}
